home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / c / tcclib.exe / GETFLDA.C < prev    next >
Encoding:
C/C++ Source or Header  |  1989-07-18  |  425 b   |  25 lines

  1. typedef struct {
  2.     int   x;
  3.     int   y;
  4.     int   Len;
  5.     int   Type;
  6.     char *Address;
  7.     int   EditFlag;
  8.     int   NumDecimals;
  9. } FieldStruc;
  10.  
  11. int  GetField( FieldStruc *f );
  12.  
  13. int GetFieldA( int x, int y, int len, int type, char *address )
  14. {
  15.     FieldStruc Field;
  16.  
  17.     Field.x        = x;
  18.     Field.y        = y;
  19.     Field.Len      = len;
  20.     Field.Type     = type;
  21.     Field.Address  = address;
  22.     Field.EditFlag = 1;
  23.     return( GetField( &Field ) );
  24. }
  25.